package org.fuys.coder.domain.act.lottery.repository;

import org.fuys.coder.common.entity.Pair;
import org.fuys.coder.domain.act.lottery.model.vo.strategy.LotteryStrategyDetailVO;
import org.fuys.coder.domain.act.lottery.model.vo.strategy.LotteryStrategyVO;
import org.fuys.coder.common.entity.PageDTO;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.lottery.repository
 * @className: IStrategyRepository
 * @author: WangJing
 * @description: 策略仓储服务
 * @date: 2024/7/5 22:47
 * @version: 1.0
 */
public interface ILotteryStrategyRepository {
    List<Pair<LotteryStrategyVO, LotteryStrategyDetailVO>> getAllStrategyInfo();
    Integer addStrategy(LotteryStrategyVO strategyVO);
    void addDetails(List<LotteryStrategyDetailVO> detailVOS);

    List<Pair<LotteryStrategyVO, LotteryStrategyDetailVO>> pageStrategyInfo(PageDTO pageDTO);
}
